import 'dart:math';

import 'package:flutter/material.dart';

class ThemeColors {

  //随机测试的
  static Color getRandomColor(
      {int r = 255, int g = 255, int b = 255, a = 255}) {
    if (r == 0 || g == 0 || b == 0) return Colors.black;
    if (a == 0) return Colors.white;
    return Color.fromARGB(
      a,
      r != 255 ? r : Random.secure().nextInt(r),
      g != 255 ? g : Random.secure().nextInt(g),
      b != 255 ? b : Random.secure().nextInt(b),
    );
  }

  //透明度计算方法: 255 * 透明度百分比, 再转换成16进制
  static const Color clff000000 = Color(0xFF000000);

  static const Color clff999999 = Color(0xff999999);

  static const Color clff202735 = Color(0xFF202735);

  static const Color clffe5e7f5 = Color(0xffe5e7f5);

  static const Color clff9f9f9f = Color(0xff9f9f9f);

  static const Color clff3a4bdd = Color(0xff3a4bdd);

  static const Color clfff5f6f7 = Color(0xfff5f6f7);

  static const Color clff898da7 = Color(0xff898da7);

  static const Color clffeeeeee = Color(0xffeeeeee);

  static const Color clff4b4c4e = Color(0xff4b4c4e);

  static const Color clffecedf2 = Color(0xffecedf2);

  static const Color clfff02e2e = Color(0xfff02e2e);

  static const Color clfffafafa = Color(0xfffafafa);

  static const Color clffafc5fe = Color(0xffafc5fe);

  static const Color clffffffff = Color(0xffffffff);

  static const Color clff989898 = Color(0xff989898);

  static const Color cl80000000 = Color(0x80000000);

  static const Color clfff8f8f8 = Color(0xfff8f8f8);

  static const Color clff6765ff = Color(0xff6765ff);

  static const Color clffa767fb = Color(0xffa767fb);

  static const Color clffd4d3e6 = Color(0xffd4d3e6);

  static const Color clffebebeb = Color(0xffebebeb);

  static const Color clff5e56df = Color(0xff5e56df);

  static const Color clff6057df = Color(0xff6057df);

  static const Color clffdadada = Color(0xffdadada);

  static const Color clff0339ea = Color(0xff0339ea);

  static const Color clff718400 = Color(0xff718400);

  static const Color clff82c836 = Color(0xff82c836);

  static const Color clfff2f9ea = Color(0xfff2f9ea);

  static const Color clffeff2fe = Color(0xffeff2fe);

  static const Color clffbb59d7 = Color(0xffbb59d7);

  static const Color clffe2e2e2 = Color(0xffe2e2e2);

  static const Color clff291643 = Color(0xff291643);

  static const Color clffd5dda1 = Color(0xffd5dda1);

  static const Color clfffee5e3 = Color(0xfffee5e3);

  static const Color clffefefef = Color(0xffefefef);

  static const Color clff748aff = Color(0xff748aff);

  static const Color clffeeaffe = Color(0xffeeaffe);

  static const Color clfff9e0ff = Color(0xfff9e0ff);

  static const Color clff12b248 = Color(0xff12b248);

  static const Color clffe18f00 = Color(0xffe18f00);

  static const Color clff5445ee = Color(0xff5445ee);

  static const Color clff9753df = Color(0xff9753df);

  static const Color clff303841 = Color(0xff303841);

  static const Color clff00b728 = Color(0xff00b728);

  static const Color clfff9f9f9 = Color(0xfff9f9f9);

}
